package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.GoodsEvaluateScoreDao;
import com.frogs.ucenter.entity.GoodsEvaluateScore;
import com.frogs.ucenter.service.GoodsEvaluateScoreService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("goodsEvaluateScoreService")
public class GoodsEvaluateScoreServiceImpl extends BaseServiceImpl<GoodsEvaluateScore> implements GoodsEvaluateScoreService {
    @Autowired
    private GoodsEvaluateScoreDao goodsEvaluateScoreDao;

    public GoodsEvaluateScoreServiceImpl() {
        super();
    }

    public GoodsEvaluateScoreDao getGoodsEvaluateScoreDao() {
        return goodsEvaluateScoreDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<GoodsEvaluateScore> getBaseDao() {
        return goodsEvaluateScoreDao;
    }

    public void setGoodsEvaluateScoreDao(GoodsEvaluateScoreDao goodsEvaluateScoreDao) {
        this.goodsEvaluateScoreDao = goodsEvaluateScoreDao;
    }
}